<template>
	<div class="superInviter">
		<!-- 邀请 -->
		<div class="head_box">
			<el-row>
				<el-button v-for="(item, index) in operation" :key="index" type="primary" @click="opeBtn(item.name)">{{ item.txt }}</el-button>
			</el-row>
		</div>

		<cy-form />
	</div>
</template>
<script>
import cyForm from '../components/cyForm/index.vue';
export default {
	components: {
		'cy-form': cyForm
	},
	data() {
		return {
			operation: [
				{
					name: 'MarketingActivitySuperParticipateMsg',
					txt: '被邀请记录'
				},
				{
					name: 'MarketingActivitySuperParticipateMarket',
					txt: '活动'
				}
			]
		};
	},
	methods: {
		opeBtn(name) {
			this.$router.push({
				name
			});
		}
	}
};
</script>

<style lang="scss" scoped>
.head_box {
	width: 100%;
	overflow: hidden;
}
</style>
